import type {Ref} from "vue";

export type MorghulisOptions = {
    baseURL?: string,
    minioURL?: string,
}

export type MorghulisChannel = {
    start?: () => void,
    stop?: () => void,
    proceed?: (payload: any) => void
}
export type MorghulisChannels = { [key: string]: MorghulisChannel }


export type MorghulisSockets = {
    status: Ref<string>,
    open: () => void,
    channels: MorghulisChannels,
}



